home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 114 / PC Guia 114.iso / Software / Utils / The Gimp 2.2.1 / gimp-help-2-0.6-setup.exe / {app} / share / gimp / 2.0 / help / en / ch05s07s04.html < prev    next >
Encoding:
Extensible Markup Language  |  2004-12-19  |  10.5 KB  |  269 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>7.4.┬áMask</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <meta name="generator" content="DocBook XSL Stylesheets V1.66.1" />
  10.     <link rel="start" href="index.html" title="GIMP User Manual" />
  11.     <link rel="up" href="ch05s07.html" title="7.┬áLayers" />
  12.     <link rel="prev" href="ch05s07s03.html" title="7.3.┬áColors" />
  13.     <link rel="next" href="ch05s07s05.html" title="7.5.┬áTransparency" />
  14.   </head>
  15.   <body>
  16.     <div xmlns="" class="navheader">
  17.       <table width="100%" summary="Navigation header">
  18.         <tr>
  19.           <th colspan="3" align="center" id="chaptername">7.┬áLayers</th>
  20.         </tr>
  21.         <tr>
  22.           <td width="20%" align="left"><a accesskey="p" href="ch05s07s03.html">Prev</a>┬á</td>
  23.           <th width="60%" align="center" id="sectionname">7.4.┬áMask</th>
  24.           <td width="20%" align="right">┬á<a accesskey="n" href="ch05s07s05.html">Next</a></td>
  25.         </tr>
  26.       </table>
  27.       <hr />
  28.     </div>
  29.     <div class="sect2" lang="en" xml:lang="en">
  30.       <div class="titlepage">
  31.         <div>
  32.           <div>
  33.             <h3 class="title"><a id="gimp-layer-mask-menu"></a>7.4.┬áMask</h3>
  34.           </div>
  35.         </div>
  36.       </div>
  37.       <div class="informalfigure">
  38.         <div class="mediaobject">
  39.           <img src="../images/menus/menus-layer-mask.png" />
  40.           <div class="caption">
  41.             <p>
  42.           The Mask submenu of the Layers menu
  43.         </p>
  44.           </div>
  45.         </div>
  46.       </div>
  47.       <p>
  48.     The Mask submenu of the Layers menu contains operations that
  49.     involve a layer mask:  creating one, applying one, deleting one,
  50.     or converting one into a selection.  See the <a href="ch04s02s03.html" title="2.3.┬áLayer masks">Layer Masks</a> section for more
  51.     information on layer masks and how to use them.
  52.   </p>
  53.       <div class="simplesect" lang="en" xml:lang="en">
  54.         <div class="titlepage">
  55.           <div>
  56.             <div>
  57.               <h4 class="title"><a id="gimp-layer-mask-add"></a>Add Layer Mask</h4>
  58.             </div>
  59.           </div>
  60.         </div>
  61.         <div class="informalfigure">
  62.           <div class="mediaobject">
  63.             <img src="../images/menus/dialogs-add-layer-mask.png" />
  64.             <div class="caption">
  65.               <p>
  66.            The "Add Layer Mask" dialog
  67.          </p>
  68.             </div>
  69.           </div>
  70.         </div>
  71.         <p>
  72.       This command can be accessed from an image menubar as 
  73.       <span class="guimenu">Layer</span>-><span class="guisubmenu">Mask</span>-><span class="guimenuitem">Add Layer Mask</span>
  74.       or from the pop-menu you get by right clicking on the active layer in 
  75.       the Layer Dialog.
  76.     </p>
  77.         <p>   
  78.       "Add Layer Mask" adds a mask to the layer, bringing up a dialog
  79.       in which you can set the initial properties of the mask.  If the
  80.       layer already has a layer mask, or cannot have one because it
  81.       lacks an alpha channel, the menu entry is insensitive.   See the
  82.       <a href="ch04s02s03.html" title="2.3.┬áLayer masks">Layer Mask</a> section for
  83.       more information. 
  84.     </p>
  85.         <p>
  86.       The popup dialog allows you six choices for the initial contents
  87.       of the layer mask:
  88.     </p>
  89.         <div class="variablelist">
  90.           <dl>
  91.             <dt>
  92.               <span class="term">White</span>
  93.             </dt>
  94.             <dd>
  95.               <p>
  96.           This option will produce full opacity when the layer mask;
  97.           that is, it will be as if there were no layer mask. 
  98.         </p>
  99.             </dd>
  100.             <dt>
  101.               <span class="term">Black</span>
  102.             </dt>
  103.             <dd>
  104.               <p>
  105.           This option will produce complete transparency, so that you
  106.           will need to paint on the layer mask in order to make any
  107.           part of the layer visible.
  108.         </p>
  109.             </dd>
  110.             <dt>
  111.               <span class="term">Layer's alpha channel</span>
  112.             </dt>
  113.             <dd>
  114.               <p>
  115.           This option will cause the layer mask to
  116.           produce the same transparency that is produced by the
  117.           layer's alpha channel.  Note that the alpha channel itself
  118.           will not be altered, so for partially transparent areas, the 
  119.           transparency will be "squared", as it were.
  120.         </p>
  121.             </dd>
  122.             <dt>
  123.               <span class="term">Transfer layer's alpha channel</span>
  124.             </dt>
  125.             <dd>
  126.               <p>
  127.           This option does the same thing as the previous option,
  128.           except that it also resets the layer's alpha channel to full
  129.           opacity.  The effect, then, is to transfer the transparency
  130.           information from the alpha channel to the layer mask,
  131.           leaving the layer with the same appearance as before.
  132.         </p>
  133.             </dd>
  134.             <dt>
  135.               <span class="term">Selection</span>
  136.             </dt>
  137.             <dd>
  138.               <p>
  139.           This option converts the selection into a layer mask, so
  140.           that selected areas are opaque, and unselected areas are
  141.           transparent.  If any areas are partially selected, toggling
  142.           the <a href="ch02s04s02.html" title="4.2.┬áQuickMask">QuickMask
  143.           button</a> will help you predict what the effects are
  144.           going to be.
  145.         </p>
  146.             </dd>
  147.             <dt>
  148.               <span class="term">Grayscale copy of layer</span>
  149.             </dt>
  150.             <dd>
  151.               <p>
  152.           This option converts the layer itself into a layer mask.  It
  153.           is mainly useful when you plan to add new contents to the
  154.           layer afterwards. 
  155.         </p>
  156.             </dd>
  157.           </dl>
  158.         </div>
  159.         <p>            
  160.       When you click on "OK" the mask symbol appears at the right of the 
  161.       layer thumbnail in the Layer Dialog.
  162.     </p>
  163.         <p>
  164.       If you check "Invert Mask" at the bottom of the dialog, then the
  165.       resulting mask is inverted, so that transparent becomes opaque
  166.       and vice versa.
  167.     </p>
  168.       </div>
  169.       <div class="simplesect" lang="en" xml:lang="en">
  170.         <div class="titlepage">
  171.           <div>
  172.             <div>
  173.               <h4 class="title"><a id="gimp-layer-mask-apply"></a>Apply Layer Mask</h4>
  174.             </div>
  175.           </div>
  176.         </div>
  177.         <p>           
  178.       This command can be accessed from an image menubar as 
  179.       <span class="guimenu">Layer</span>-><span class="guisubmenu">Mask</span>-><span class="guimenuitem">Apply Layer Mask</span>.
  180.       or from the pop-menu you get by right clicking on the active layer in 
  181.       the Layer Dialog.
  182.     </p>
  183.         <p>   
  184.       "Apply Layer Mask" causes the layer mask to be merged with the active
  185.       layer, with the transparency set by the mask applied to the
  186.       layer's alpha channel.  The layer mask is removed.  If the
  187.       active layer does not have a layer mask, the menu entry is
  188.       insensitive. See the 
  189.       <a href="ch04s02s03.html" title="2.3.┬áLayer masks">Layer Masks</a> section for more
  190.       information.  
  191.     </p>
  192.       </div>
  193.       <div class="simplesect" lang="en" xml:lang="en">
  194.         <div class="titlepage">
  195.           <div>
  196.             <div>
  197.               <h4 class="title"><a id="gimp-layer-mask-delete"></a>Delete Layer Mask</h4>
  198.             </div>
  199.           </div>
  200.         </div>
  201.         <p>            
  202.       This command can be accessed from an image menubar as 
  203.       <span class="guimenu">Layer</span>-><span class="guisubmenu">Mask</span>-><span class="guimenuitem">Delete Layer Mask</span>
  204.       or from the pop-menu you get by right clicking on the active layer in 
  205.       the Layer Dialog.
  206.     </p>
  207.         <p>   
  208.       "Delete Layer Mask" deletes the active layer's layer mask.  If
  209.       the active 
  210.       layer does not have one, the menu entry is insensitive.
  211.     </p>
  212.       </div>
  213.       <div class="simplesect" lang="en" xml:lang="en">
  214.         <div class="titlepage">
  215.           <div>
  216.             <div>
  217.               <h4 class="title"><a id="gimp-layer-mask-selection-replace"></a>Mask to Selection (or Add; Subtract; Intersect)</h4>
  218.             </div>
  219.           </div>
  220.         </div>
  221.         <a id="gimp-layer-mask-selection-add"></a>
  222.         <a id="gimp-layer-mask-selection-subtract"></a>
  223.         <a id="gimp-layer-mask-selection-intersect"></a>
  224.         <p>           
  225.       These commands can be accessed from an image menubar as 
  226.       <span class="guimenu">Layer</span>-><span class="guisubmenu">Mask</span>,
  227.       followed by <span class="guimenuitem">Mask to Selection</span>,
  228.       <span class="guimenuitem">Add to Selection</span>, 
  229.       <span class="guimenuitem">Subtract from Selection</span>, or
  230.       <span class="guimenuitem">Intersection with Selection</span>
  231.       or from the pop-menu you get by right clicking on the active layer in 
  232.       Layer Dialog.
  233.     </p>
  234.         <p>           
  235.       "Mask to Selection" transforms the active layer's layer mask
  236.       into a selection mask, that is, into the image's selection.  White
  237.       areas of the mask become completely selected, black areas
  238.       unselected, and gray areas partially selected.  The other
  239.       operations in this group do similar things, except that instead
  240.       of completely replacing the existing selection with the
  241.       selection produced from the layer mask, they either add the two
  242.       selections, subtract the layer mask selection from the existing
  243.       selection, or yield a selection that is the intersection of the
  244.       two. The mask is not deleted.
  245.     </p>
  246.       </div>
  247.     </div>
  248.     <div class="navfooter">
  249.       <hr />
  250.       <table width="100%" summary="Navigation footer">
  251.         <tr>
  252.           <td width="40%" align="left"><a accesskey="p" href="ch05s07s03.html">Prev</a>┬á</td>
  253.           <td width="20%" align="center">
  254.             <a accesskey="u" href="ch05s07.html">Up</a>
  255.           </td>
  256.           <td width="40%" align="right">┬á<a accesskey="n" href="ch05s07s05.html">Next</a></td>
  257.         </tr>
  258.         <tr>
  259.           <td width="40%" align="left" valign="top">7.3.┬áColors┬á</td>
  260.           <td width="20%" align="center">
  261.             <a accesskey="h" href="index.html">Home</a>
  262.           </td>
  263.           <td width="40%" align="right" valign="top">┬á7.5.┬áTransparency</td>
  264.         </tr>
  265.       </table>
  266.     </div>
  267.   </body>
  268. </html>
  269.